<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta content="yes" name="apple-mobile-web-app-capable" /> 
<meta content="black" name="apple-mobile-web-app-status-bar-style" />
<meta content="telephone=no" name="format-detection" />
<script src="/static/mobile/js/jquery-1.10.2.min.js"></script>
<link rel="stylesheet" type="text/css" href="/static/mobile/css/css.css" />
<link type="text/css" rel="stylesheet" href="/static/mobile/css/tbjl.css" />
<link rel="stylesheet" type="text/css" href="/static/mobile/css/layout.css" />
<link rel="stylesheet" type="text/css" href="/static/mobile/css/common.css" />
<title><?php echo CON_WEBNAME;?></title>
</head>

<body>
<!--头部开始-->
<div class="top">
<!--	<img src="/static/mobile/images/ychapplogo.png">-->
    已收明细
    <a href="javascript:history.go(-1)" class="new-a-back">
    	<span>返回</span>
    </a>
</div>
<!--头部结束-->

<!--主体内容开始-->
<div class="money-list qjys">
<table id="collection_tab" width="100%" border="0" cellpadding="0" cellspacing="0" class="biaoge">
  <tr id="bt">
    <td height="50">标题</td>
    <td height="50">收款时间</td>
    <td height="50">本金</td>
    <td height="50">利息</td>
  </tr>
  <?php foreach($collection_list as $coll){?>
  <tr>
    <td height="50"><?php echo $coll['title'];?></td>
    <td height="50"><?php echo $coll['repay_yestime'];?></td>
    <td height="50"><?php echo $coll['capital'];?>元</td>
    <td height="50"><?php echo $coll['interest'];?>元</td>
  </tr>
  <?php }?>
</table>
<input type="hidden" id="collection_page" value="1"/>
	<a href="javascript:collection_more()" class="p_newsmore">查看更多 &gt;&gt;</a>
<script>
function collection_more(){
	page = parseInt(document.getElementById('collection_page').value);
	page = page+1;
	document.getElementById('collection_page').value=page;
	var str = "";
	$.ajax({
		type: "GET",
		url: "/mobile/userborrow/ycoll_more/"+page,
		data: "",
		success: function(ret){
	        for(i=0;i<ret.length;i++){
				str += "<tr>";
				str += "<td height=\"50\">"+ret[i].title+"</td>";
				str += "<td height=\"50\">"+ret[i].repay_yestime+"</td>";
				str += "<td height=\"50\">"+ret[i].capital+"</td>";
				str += "<td height=\"50\">"+ret[i].interest+"</td>";
				str += "</tr>";
	        }
	        var oldstr = document.getElementById('collection_tab').innerHTML;
	    	document.getElementById('collection_tab').innerHTML = oldstr+str;
		},
		dataType: "json"
	});
}
</script>
</div>
<!--主体内容结束-->

<!--底部信息开始-->
<footer class="bottom-nav">
	<ul class="ulnav">
    	<li><a href="/mobile/borrow/index.html"><span class="icon lc"></span>
        <span>我要理财</span>
        </a></li>
    	<li class="active"><a href="/mobile/ucenter/index.html"><span class="icon zh"></span>
        <span>我的账号</span>
        </a></li>
    	<li><a href="/mobile/account/account_list.html"><span class="icon jy"></span>
        <span>交易记录</span>
        </a></li>
    	<li><a href="/mobile/notices/index.html"><span class="icon sm"></span>
        <span>公告说明</span>
        </a></li>
    </ul>
</footer>
<div style="display:none;">
<script type="text/javascript">
var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3Fbddfbd985badab4bfe8fee07203cc21e' type='text/javascript'%3E%3C/script%3E"));
</script>
<script src="http://s11.cnzz.com/stat.php?id=4565714&web_id=4565714&show=pic" language="JavaScript"></script>
</div>
<!--底部信息结束-->
</body>
</html>
